package com.mercury.coffee.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 童雅婷
 * @since 2021-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PushCoffee对象", description="")
public class PushCoffee implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "咖啡id")
    @TableId(value = "coffee_id", type = IdType.AUTO)
    private Integer coffeeId;

    @ApiModelProperty(value = "咖啡名字")
    private String coffeeName;

    @ApiModelProperty(value = "咖啡介绍")
    private String coffeeIntroduce;

    @ApiModelProperty(value = "咖啡简介")
    private String coffeeBrief;

    @ApiModelProperty(value = "咖啡封面图片")
    private String coffeeImg;

    @ApiModelProperty(value = "逻辑删除 0未删除  1删除")
    private Boolean deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "咖啡的星级")
    private int coffeeStar;


}
